Configure as a Reverse Proxy
2010/07/25 |
Configure Squid as a Reverse Proxy |
|
[1] | Configure Squid |
root@lan05:~# vi /etc/squid/squid.conf # line 1115: specify web server's IP address for backend http_port 80 defaultsite=10.0.0.51 # line 1626: add cache_peer 10.0.0.51 parent 80 0 no-query originserver # near line 678: add ( allow http all ) http_access allow all root@lan05:~# service squid restart squid start/running, process 1014 |
[2] | Change Settings of DNS or router if needed, and access to make sure the settings are enabled. |